package com.reden;

import java.awt.*;
import java.util.Timer;

public class Main {
    public static void main(String[] args) throws AWTException {
        Timer timer = new Timer();
        Automatic automatic = new Automatic(10,true,false);
        //Restrain restrain = new Restrain(automatic);
        //KeyListener keyListener = new KeyListener(automatic);
        timer.scheduleAtFixedRate(automatic, 0,1);
    }

}
